<?php
/**
 * Create By: PhpStorm
 * User: niechenguang
 * File: Circle.php
 * Date: 2017/1/2
 * Time: 23:13
 */

namespace app\api\model\data\note;

use app\library\RedisMgr;

class RecordNoteData
{
    private $objRedis;
    private $strRedisKey_noteInfoPV;

    public function __construct()
    {

        $this->objRedis = RedisMgr::getInstance([]);

        $this->strRedisKey_noteInfoPV = 'note:infopv';
    }

    public function note_info_pv($note_id)
    {
        //$this->objRedis->zincrby($this->strRedisKey_noteInfoPV, 1, $note_id);
    }

    public function note_info_pv_num($note_id)
    {
        //$this->objRedis->zscore($this->strRedisKey_noteInfoPV, $note_id);
    }
}
